export class DialogData {
    
    public id:number;
    /** 多语言key*/
    public languageKey:string;
    /** 对话图片图集名*/
    public atlasName :string;
    /** 对话图片图片名*/
    public spriteName:string;
    /** 所属关卡*/
    public levelId:number;
    /** 字符串是否format名字*/
    public isFormatName:boolean;
    /** 对话图 角色是不是在右边*/
    public isBgRight:boolean;

    public constructor(obj: string) {
        this.id = obj['id'];
        this.languageKey = obj['languageKey'];
        this.atlasName = obj['atlasName'];
        this.spriteName = obj['spriteName'];
        this.spriteName = obj['spriteName'];
        this.levelId = obj['levelId'];
        this.isFormatName = obj['isFormatName'];
        this.isBgRight = obj['isBgRight'];
    }
}